package com.woniuxy.commons.rabbit;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Class
 * <P> TODO:  添加rabbit常量配置
 * <P> Date:  2022/4/21:9:30
 * <P> Description:
 */

public class RabbitMqConst {

    /**
     *
     * TODO 交换机 路由模式
     */
    public static final String EXCHANGE_DIRECT_PRODUCT = "exchange.direct.product";
    public static final String EXCHANGE_DIRECT_PRODUCT_UPDATE = "exchange.direct.productUpdate";

    /**
     *
     * TODO 订阅路由
     */
    public static final String ROUTING_PRODUCT = "product";

    public static final String ROUTING_CHOOSE_PRODUCE_MSG = "chooseProduceMsg";


    /**
     *
     * TODO 队列
     */
    public static final String QUEUE_PRODUCT = "queue.product";

    public static final String QUEUE_CHOOSE_PRODUCE_MSG = "queue.chooseProduceMsg";


    /**
     * 采购单OK路由key
     **/
    public static final String PURCHASE_ORDER_ROUTING_OK_KEY = "queue_purchase_ok";

    /**
     * 采购单cancel路由key
     **/
    public static final String PURCHASE_ORDER_ROUTING_CANCEL_KEY ="queue_purchase_cancel";
}
